﻿using System;

namespace Model.Medicine
{
    public class Medicine: MarshalByRefObject
    {
        public override object InitializeLifetimeService()
        {
            return null;
        }

        private int medId;
        private string medicineName;
        private string strength;
        private int routeOfAdministrationId;
        private int medUnitId;
        private int medGroupId;
        private int quantityTotal;
        private short status;

        public Medicine() { }
        public Medicine(string medName, int medUnitId, int medGroupId, string strength, int roaId)
        {
            this.medicineName = medName;
            this.medUnitId = medUnitId;
            this.medGroupId = medGroupId;
            this.routeOfAdministrationId = roaId;
            this.strength = strength;
            this.quantityTotal = 0;
            this.status = 1;
        }

        public int getMedId()
        {
            return medId;
        }
        public void setMedId(int medId)
        {
            this.medId = medId;
        }
        public string getMedicineName()
        {
            return medicineName;
        }
        public void setMedicineName(string medicineName)
        {
            this.medicineName = medicineName;
        }
        public string getStrength()
        {
            return strength;
        }
        public void setStrength(string strength)
        {
            this.strength = strength;
        }
        public int getRouteOfAdministrationId()
        {
            return routeOfAdministrationId;
        }
        public void setRouteOfAdministrationId(int routeOfAdministrationId)
        {
            this.routeOfAdministrationId = routeOfAdministrationId;
        }
        public int getMedUnitId()
        {
            return medUnitId;
        }
        public void setMedUnitId(int medUnitId)
        {
            this.medUnitId = medUnitId;
        }
        public int getMedGroupId()
        {
            return medGroupId;
        }
        public void setMedGroupId(int medGroupId)
        {
            this.medGroupId = medGroupId;
        }
        public int getQuantityTotal()
        {
            return quantityTotal;
        }
        public void setQuantityTotal(int quantityTotal)
        {
            this.quantityTotal = quantityTotal;
        }
        public short getStatus()
        {
            return status;
        }
        public void setStatus(short status)
        {
            this.status = status;
        }
    }
}
